You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page ns="0" title="API" missing="" />
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="158.197.31.163" anon="" timestamp="2008-02-18T07:26:16Z" comment="/* [[Lectures and Recitations]] */" xml:space="preserve">=== [[Lectures and Recitations]] ===

=== Problem Sets and Quizzes ===
* [[Problem Sets]]
* [[Quizzes]]

=== Content ===
* [[Document Distance]]
* [[Python Cost Model]]
* [[Binary Search Trees]]

=== Resources ===
* [[python-mode for Emacs on Athena]]</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>